package com.ziroom.finance.rabbitmq.common.constant;

/**
 * 常量
 * Created by duxiaokang on 2016/10/31.
 */
public class Constant {

    /**
     * 默认开始行数
     * @author duxiaokang
     */
    public static final int DEFAULT_START_ROW = 0;

    /**
     * 默认页面大小
     * @author duxiaokang
     */
    public static final int DEFAULT_PAGE_SIZE = 10;


    /**
     * 删除标识：已删除 1
     */
    public static final int IS_DEL = 1;

    /**
     * 删除标识：未删除 0
     */
    public static final int IS_NOT_DEL = 0;

    /**
     * 进件轮询任务是否开启 1开启 2关闭
     */
    public static final int CLOSE_Y = 1;

    /**
     * 进件轮询任务是否开启 1开启 2关闭
     */
    public static final int CLOSE_N = 2;

    /**
     * 默认重发次数
     */
    public static final int DEFAULT_RETRY_TIMES = 3;

    /**
     * 是智能锁
     */
    public static final String INTELLIGENT_LOCK_YES="1";

    /**
     * 锁门
     */
    public static final int OP_TYPE_LOCK = 1;
    /**
     * 解锁
     */
    public static final int OP_TYPE_UNLOCK=2;
    /**
     * 大门
     */
    public static final String BUILD_HOUSE="house";
    /**
     * 卧室门
     */
    public static final String BUILD_ROOM="room";

}
